// Kind Model
// Author: Xiao Jia
// Date: 2010/12/03

#pragma once

#include <string>
#include <vector>

class Book;

class Kind
{
public:
	Kind(std::string const &isbn, std::wstring const &name, std::wstring const &authors, std::wstring const &index);
	virtual ~Kind();
	
	std::string getISBN() const;
	std::wstring getName() const;
	std::vector<std::wstring> getAuthors() const;
	std::wstring getIndex() const;

	void setISBN(std::string const &);
	void setName(std::wstring const &);
	void setAuthors(std::wstring const &);
	void setIndex(std::wstring const &);
	
	size_t countBooks() const;
	std::vector<Book *> getBooks() const;
};
